STEP 14: Logins often show the length of your password, but not what you inputted. Let's do that here!

  • Go back to get_user_input() and put a few blank lines between response = and return.
  • In LOGIC, go to and drag Length inside get_user_input().
  • Then, change the variable inside ( ) from my_var to response. We need to know the response's length.
  • Then, underneath, drag Multiplying Strings inside get_user_input. We'll use this in the next activity.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)